import 'normalize.css'
import 'font-awesome-webpack'
import 'styles/app.scss'

import Vue from 'vue'
import VueResource from 'vue-resource'
import VueProgressBar from 'vue-progressbar'
import fetch from 'src/utils/fetch'
import VueValidator from 'vue-validator'
import validatorRule from 'src/config/validator'

import theme from 'components/theme'
import signinBox from 'components/signin/SigninBox'

Vue.use(VueProgressBar, {
  color: 'rgb(143, 255, 199)',
  failedColor: 'red',
  height: '2px'
})
Vue.use(VueResource)
Vue.use(fetch)

Vue.use(VueValidator)
Vue.use(validatorRule)

Vue.use(theme)

  /* eslint-disable no-new */
new Vue({
  el: 'body',
  components: {
    signinBox
  }
})
